#ifndef INSERTDATADIALOG_H
#define INSERTDATADIALOG_H

#include "ui_insertdatadialog.h"
#include "insertdatawidget.h"
class Data;
class InsertDataDialog : public QDialog, public Ui::InsertDataDialog
{
Q_OBJECT
public:
	InsertDataDialog( QWidget * parent = 0);
private:
	InsertDataWidget *subjectWidget;
	InsertDataWidget *placeWidget;
	InsertDataWidget *teacherWidget;
	Data *data;
private slots:
	void save();
	void cancel();
};
#endif
